import { getItem } from '@/api/order.js'
const type = ''
export default {
  // 开启命名空间
  namespaced: true,
  state: () => ({
    orderData: getItem(type)
  }),
  mutations: {
    saveData (state, data) {
      state.orderData = data
      // state.type = type
    }
    // saveType (state, type) {
    //   state.type = type
    // }
  },
  getters: {}
}
